DISCUSSION
The
ATSUClearFontFeatures function removes those previously set font features that are identified by the feature selector and type constants in the
iSelector and
iType arrays. It replaces them with their font-defined default values.
If you wish to remove all previously set font features from a style object, pass
kATSUClearAll in the
iFeatureCount parameter. To remove all previously set style run attribute, font feature, and font variation values from a style object, call the function
ATSUClearStyle. To remove just the previously set font variation values from a style object, call the function
ATSUClearFontVariations.